package com.yuyaogc.lowcode.engine.proxy;


import java.io.Serializable;
import java.lang.reflect.Method;


public class Aspect implements IAspect, Serializable {
    private static final long serialVersionUID = 1L;


    @Override
    public boolean before(Class<?> target, Method method, Object[] args) {
        System.out.println(method.getName());
        return true;
    }

    @Override
    public boolean after(Class<?> target, Method method, Object[] args, Object returnVal) {
        return true;
    }

    @Override
    public boolean afterException(Class<?> target, Method method, Object[] args, Throwable e) {
        return true;
    }
}
